/*
 * Copyright 2023-2085 xujin <ceo@itgrail.com>
 *
 * Licensed under the Grail License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://itgrail.com/docs?id=3&catalogId=87
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.itgrail.pilot.app.command.cmo;

import com.itgrail.pilot.app.command.co.UserCO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("更新关键成果参数")
public class UpdateKeyResultCmd extends CommonCommand {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("进度")
    private Integer planRate;

    @ApiModelProperty("权重")
    private Integer weightRate;

    @ApiModelProperty("总分")
    private String scoreRate;

    @ApiModelProperty("目标id")
    private Integer objectiveId;

    @ApiModelProperty("目标进度")
    private Integer objectivePlanRate;

    @ApiModelProperty("目标总分")
    private String objectiveScoreRate;

    @ApiModelProperty("周期id")
    private Integer okrPeriodId;

    private Integer showSort;

    private List<UserCO> notifyUsers;

    private AddKeyCommentCmd addKeyCommentCmd;
}



